﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraGrid;
using DevExpress.XtraGrid.Views.Grid;
using DevExpress.XtraGrid.Columns;
using Fcdbas.WinUI.Controls;
using Fcdbas.WinUI.Common;
using Fcdbas.Core.Xml;

namespace Fcdbas.WinUI.Forms
{
    public partial class BaseListForm : BaseForm
    {
       
        public BaseListForm()
        {
            InitializeComponent();
        }

        public BaseListForm(string lu, string view, string where,string module)
        {
            InitializeComponent();
            this.MasterdataSourceBinding.LogicalUnit = lu;
            this.MasterdataSourceBinding.Module = module;
            this.MasterdataSourceBinding.DefaultWhere = where;
            this.MasterdataSourceBinding.ViewName = view;
        }

        public DevExpress.XtraGrid.Views.Grid.GridView GV
        {
            get
            {
                return this.gridView1;
            }
        }

    }
}
